package tmp;

import java.util.ArrayList;

import br.gendi.beans.BaseGenomica;
import br.gendi.beans.Parametros;
import br.gendi.core.Parser;

public class Main {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		BaseGenomica b = Parser.parseSite("http://www.jenner.ac.uk/EpiJen/");
		System.out.println("Action: "+b.getFormAction());
		System.out.println("Metodo: "+b.getMetodos());
		System.out.println("URL: "+b.getUrl());
		System.out.println("Parametros: "+b.getParametros().size());
		
		ArrayList<Parametros> parm = b.getParametros();
		Parametros p1 = null;
		for (int i=0; i<parm.size(); i++) {
			p1 = parm.get(i);
			System.out.println(p1.getNome());
		}
	}
}
